export interface ResponseData {
  code: number;
  message: string;
  ok: boolean;
}

export interface SpuObj {
  id?: number;
  spuName: string;
  description?: string;
  category3Id: number; //所属三级分类ID
  tmId: number | null; //所属品牌ID
  spuSaleAttrList?: any;
  spuImageList?: any;
  spuPosterList?: any;
}

export type Records = SpuObj[];

export interface SpuResponseData extends ResponseData {
  data: {
    records: Records;
    total: number;
    size: number;
    current: number;
    searchCount: boolean;
    pages: number;
  };
}
